package com.ruoyi.service.mapper;

import com.ruoyi.service.domain.ServiceOrdernurse;

import java.util.List;

/**
 * 订单护士对应Mapper接口
 * 
 * @author ZDL
 * @date 2024-12-26
 */
public interface ServiceOrdernurseMapper 
{
    /**
     * 查询订单护士对应
     * 
     * @param ordernurseId 订单护士对应主键
     * @return 订单护士对应
     */
    public ServiceOrdernurse selectServiceOrdernurseByOrdernurseId(Long ordernurseId);

    /**
     * 查询订单护士对应列表
     * 
     * @param serviceOrdernurse 订单护士对应
     * @return 订单护士对应集合
     */
    public List<ServiceOrdernurse> selectServiceOrdernurseList(ServiceOrdernurse serviceOrdernurse);
    public List<ServiceOrdernurse> selectServiceOrdernurseListByOrderId(Long orderId);
    public List<ServiceOrdernurse> selectServiceOrdernurseListByNurseId(Long nurseId);

    /**
     * 新增订单护士对应
     * 
     * @param serviceOrdernurse 订单护士对应
     * @return 结果
     */
    public int insertServiceOrdernurse(ServiceOrdernurse serviceOrdernurse);

    /**
     * 修改订单护士对应
     * 
     * @param serviceOrdernurse 订单护士对应
     * @return 结果
     */
    public int updateServiceOrdernurse(ServiceOrdernurse serviceOrdernurse);

    /**
     * 删除订单护士对应
     * 
     * @param ordernurseId 订单护士对应主键
     * @return 结果
     */
    public int deleteServiceOrdernurseByOrdernurseId(Long ordernurseId);

    /**
     * 批量删除订单护士对应
     * 
     * @param ordernurseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteServiceOrdernurseByOrdernurseIds(Long[] ordernurseIds);

    List<ServiceOrdernurse> selectByOrderId(Long orderId);
}
